package com.taosdata.example.springbootdemo.dao.tdengine;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.taosdata.example.springbootdemo.domain.Weather;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface TaosMapper extends BaseMapper<Weather>{

    List<Weather> all();

    void save(Weather weather);
}
